package de.mariusharbeck.saralentz.entity;

@SuppressWarnings("serial")
public class SelectableBild extends Bild {
	private boolean selected;

	public SelectableBild(boolean selected, Bild bild) {
		super(bild.getFormat(), bild.getName(), bild.getHeight(), bild
				.getWidth(), bild.getHits(), bild.getImage(), bild
				.getImageSize(), bild.getThumb(), bild.getThumbSize(), bild
				.getAlbum());
		setId(bild.getId());
		this.selected = selected;
	}

	public SelectableBild(boolean selected) {
		super();
		this.selected = selected;
	}

	public SelectableBild() {
		this(false);
	}

	public boolean isSelected() {
		return selected;
	}

	public void setSelected(boolean selected) {
		this.selected = selected;
	}
}
